home *** CD-ROM | disk | FTP | other *** search
-
- /*© Copyright 1988-1992 UserLand Software, Inc. All Rights Reserved.*/
-
- #define quickdrawinclude
-
-
- #ifndef appletdefsinclude
-
- #include "appletdefs.h"
-
- #endif
-
-
- #define blackindex 0
- #define whiteindex 1
- #define lighterblueindex 2 /*a very common color in System 7 culture*/
- #define lightblueindex 2 /*another very common color*/
-
-
- boolean pushstyle (short, short, short);
-
- boolean popstyle (void);
-
- short getmenubarheight (void);
-
- void setrect (Rect *, short , short , short , short);
-
- void eraserect (Rect);
-
- void movepento (short, short);
-
- void pendrawline (short, short);
-
- void invalrect (Rect);
-
- boolean emptyrect (Rect);
-
- boolean rectlessthan (Rect, Rect);
-
- void dropshadowrect (Rect, short, boolean);
-
- void invaldropshadow (Rect, short);
-
- boolean pushforecolor (short);
-
- boolean popforecolor (void);
-
- boolean pushbackcolor (short);
-
- boolean popbackcolor (void);
-
- boolean pushcolors (short, short);
-
- boolean popcolors (void);
-
- boolean systemhascolor (void);
-
- boolean getcolorpalette (WindowPtr);
-
- boolean openbitmap (Rect, WindowPtr);
-
- void closebitmap (WindowPtr);
-
- boolean plotsmallicon (Rect, short, short, boolean);
-
- boolean colorenabled (void);
-
- void constraintodesktop (Rect *);
-
- void drawicon (Rect, short, Handle);
-
- void localtoglobalrect (Rect *);
-
- short pointdist (Point, Point);
-
- boolean pushpen (void);
-
- boolean poppen (void);
-
- boolean pushmacport (GrafPtr);
-
- boolean popmacport (void);
-
- boolean pushclip (Rect);
-
- boolean popclip (void);
-
- void centerrect (Rect *, Rect);
-
- void ellipsize (Str255, short);
-
- void centerstring (Rect, bigstring);
-
- void centerwindow (WindowPtr, Rect);
-
- void grayrect (Rect);
-
- boolean pointinrect (Point, Rect);
-
- void validrect (Rect);
-
- boolean pushemptyclip (void);
-
- void globaltolocalpoint (WindowPtr, Point *);
-
- void localtoglobalpoint (WindowPtr, Point *);
-
- void zerorect (Rect *);
-
- boolean equalrects (Rect, Rect);
-
- void scrollrect (Rect, short, short);
-
-
-
-